Skip to content

Conversation

@shyunMin
Copy link
Contributor

Description of Change

This PR is for adding MList

Issues Resolved

API Changes

Added

  • MList

Platforms Affected

  • Tizen

Behavioral/Visual Changes

None

Before/After Screenshots

mlist

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

@shyunMin shyunMin mentioned this pull request Nov 28, 2019
3 tasks
@JoonghyunCho
Copy link
Contributor

Is it only me? feeling uncomfortable to see the dark colored selected item text in dark mode?

public class MList : GenList, IColorSchemeComponent
{
HashSet<GenItem> _realizedItems = new HashSet<GenItem>();
Color _none = new Color(0, 0, 0, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What none means? What is different with default and Color.Black?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is different with Color.Black, I changed the name to _transparent

}
}

protected void OnListDeleted(object sender, EventArgs e)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OnDeleted

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

{
public class MList : GenList, IColorSchemeComponent
{
HashSet<GenItem> _realizedItems = new HashSet<GenItem>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to hold additional item list?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's because GenList doesn't provide to access to GenItems they have internally.
GenItems are needed whenever the theme color is changed, MList saves the items when it is realized.

@rookiejava rookiejava merged commit b4ea972 into TizenAPI:master Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Lists

3 participants